From: Sam Reed Date: Thu, 4 Aug 2011 22:20:52 +0000 (+0000) Subject: * (bug 17119) class Parser: senseless use of non-existing regexp back reference X-Git-Tag: 1.31.0-rc.0~28430 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=8e062ead6440e298ac78896c80f1c96fb2d96828;p=lhc%2Fweb%2Fwiklou.git * (bug 17119) class Parser: senseless use of non-existing regexp back reference Patch made by Dan Collins,, based on text placed by "seth" --- diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index 84cfdafbf2..56c03682dc 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -347,7 +347,7 @@ class Parser { $fixtags = array( # french spaces, last one Guillemet-left # only if there is something before the space - '/(.) (?=\\?|:|;|!|%|\\302\\273)/' => '\\1 \\2', + '/(.) (?=\\?|:|;|!|%|\\302\\273)/' => '\\1 ', # french spaces, Guillemet-right '/(\\302\\253) /' => '\\1 ', '/ (!\s*important)/' => ' \\1', # Beware of CSS magic word !important, bug #11874.